export default {
	data() {
		return {
			bid: '',
			brand: '',
			Serieslist: [{
				cartypeid: 3999,
				name: "奥迪A3"
			}, {
				cartypeid: 2715,
				name: "奥迪A3(进口)"
			}], //系列
			typeid: '',
		};
	},
	onLoad(op) {
		this.bid = op.brandid
		this.brand = op.brandname
		this.typeid = op.type
		// this.searchBrand(op.brandid);
	},
	methods: {
		//选择品牌
		// searchBrand(id) {
		// 	// 点击品牌读取系列
		// 	var parmeter = {
		// 		type: 1, //0品牌/1系列/2车子
		// 		carid: id, //id
		// 	};
		// 	Core.AjaxPost(Core.Bus.BussinesscarList, parmeter, (res) => {
		// 		this.Serieslist = res.data.Item.TypeCarList
		// 	})
		// },
		seriesbtn(type) {
			//系列name
			uni.$emit('specifAll', {
				Serieslist: type
			});
			uni.navigateTo({
				url: '../selectConfiguration/selectConfiguration?Seriesid=' + type.cartypeid + '&&type=' + this.typeid
			});
		}
	}
}
// uni.$off('adress')
